86d917314f4f19a9e918e076555a5714461e7b22,tests/src/test/java/tachyon/shell/AbstractTfsShellTest.java,AbstractTfsShellTest,cleanAndLogin,#String#,162
Before Change
// clear the loginUser and re-login with new user
synchronized (LoginUser.class) {
Whitebox.setInternalState(LoginUser.class, "sLoginUser", (String) null);
ClientContext.getConf().set(Constants.SECURITY_LOGIN_USERNAME, user);
LoginUser.get(ClientContext.getConf());
}
}
After Change
}
protected void cleanAndLogin(String user) throws IOException {
LoginUserTestUtils.updateLoginUser(ClientContext.getConf(), user);
}
protected byte[] readContent(TachyonURI uri, int length) throws IOException, TachyonException {